package com.cskaoyan.javase.practice.stage3;

/**
 * @program: little-practice
 * @description: a student class
 * @author: Keyu Li
 * @create: 2021-09-01 15:26
 **/

public class Student {
    int stuId;
    String name;
    String gender;
    int age;
    int grade;
    int tele;

    public Student() {
    }

    public Student(int stuId, String name, String gender, int age, int grade, int tele) {
        this.stuId = stuId;
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.grade = grade;
        this.tele = tele;
    }

    public void printStu(){
        System.out.println("[ "+this.stuId+", "
                +this.name+", "+this.gender+", "
                +this.age+", "+this.grade+", "
                +this.tele+" ]");
    }
}
